package com.example.app.runner;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import java.util.Arrays;

/**
 * @author wangzhuangzhuang
 * @DESC:
 * @date 2022-02-10 09:59
 */
@Slf4j
@Component
public class CommondLineStartupRunner implements CommandLineRunner {

	@Override
	public void run(String... args) throws Exception {
		log.info("CommandLineRunner传入参数： {}", Arrays.toString(args));
	}

}